package com.bigxuan.engsimple.net;

import com.bigxuan.engsimple.net.param.SotaApp;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface ApiService {

    @Headers({"Content-Type: application/json","Accept: application/json"})//需要添加头
    @POST("sota/check")
    Call<ResponseBody> check(@Body SotaApp postModel);

}
